package com.magenta.geocoding.progorod.json;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import java.util.List;

/**
 * User: Zlygostev
 * Date: 16.06.12
 * Time: 13:19
 */
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class ProGorodRoute {
    //    private int count;
    private long time;
    private double distance;
    private int error;
    private List<Double[]> points;
    private List<Plan> plan;
    private int suberror;

//    public int getCount() {
//        return this.count;
//    }
//
//    public void setCount(int count) {
//        this.count = count;
//    }

    public double getDistance() {
        return this.distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }

    public int getError() {
        return this.error;
    }

    public void setError(int error) {
        this.error = error;
    }

    public List<Double[]> getPoints() {
        return this.points;
    }

    public void setPoints(List<Double[]> points) {
        this.points = points;
    }

    public int getSuberror() {
        return this.suberror;
    }

    public void setSuberror(int suberror) {
        this.suberror = suberror;
    }

    public long getTime() {
        return this.time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
